Skip to content

Conversation

tejasbadadare
Copy link
Contributor

Summary

Add retries to the entropy-tester script

Rationale

We use entropy-tester as a synthetic test for Entropy. If the script fails, it's a good signal that something is wrong. However, this can be a bit noisy, as currently a single failed callback raises an alarm, even though it is likely due to a transient chain issue we can't do anything about.

Adding retries to the tester allows us to reduce this noise by only alerting if we fail to receive multiple callbacks in a row. After this change, a critical alert will be fired if 3 callbacks fail back to back, giving us better confidence that something is actually wrong.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code
    • Tested locally with prod config

@tejasbadadare tejasbadadare requested a review from a team as a code owner July 15, 2025 23:02
Copy link

vercel bot commented Jul 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Skipped (Inspect) Jul 15, 2025 11:02pm
component-library ⬜️ Skipped (Inspect) Jul 15, 2025 11:02pm
developer-hub ⬜️ Skipped (Inspect) Jul 15, 2025 11:02pm
entropy-debugger ⬜️ Skipped (Inspect) Jul 15, 2025 11:02pm
entropy-explorer ⬜️ Skipped (Inspect) Jul 15, 2025 11:02pm
insights ⬜️ Skipped (Inspect) Jul 15, 2025 11:02pm
proposals ⬜️ Skipped (Inspect) Jul 15, 2025 11:02pm
staking ⬜️ Skipped (Inspect) Jul 15, 2025 11:02pm

@tejasbadadare tejasbadadare merged commit 8e4049f into main Jul 16, 2025
12 checks passed
@tejasbadadare tejasbadadare deleted the tb/entropy-tester/retries branch July 16, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants